//
//  LcRequestData.m
//  18Birdies
//
//  Created by Lc on 15/3/24.
//  Copyright (c) 2015年 Lc. All rights reserved.
//

#import "LcRequestData.h"
#import "LcJson.h"
#import "LcHierarchyManager.h"

@implementation LcRequestData

static NSString* version;

+ (void)initialize {
  if (self == [LcRequestData self]) {
    NSDictionary* infoDictionary = [[NSBundle mainBundle] infoDictionary];
    version = infoDictionary[@"CFBundleShortVersionString"];
  }
}

- (instancetype)init {
  self = [super init];
  if (self) {
    if (![[LcJson sharedInstance] isJsoning]) {
      self->_createVersion = version.copy;
      NSString* context = nil;
      self->_context = context;
    }
  }
  return self;
}

@end
